package hit.dao;

import java.util.List;

import hit.core.HITBase;

public interface DAOBase {
	/**
	 * Get a List of all of the objects of a certain type from the data source
	 * @return the List of objects
	 * */
	public List<HITBase> GetAll();
	
	/**
	 * Create a new HIT object in the data source
	 * @param object the object to create
	 * @return the newID for the object
	 * */
	public int Create(HITBase object);
	
	/**
	 * Remove a HITObject from the data source
	 * @param object the object to remove
	 * */
	public void Remove(HITBase object);
	
	/**
	 * Update a HITObject in the data source
	 * @param object the object to update
	 * */
	public void Update(HITBase object);
}
